<?php
class Interceptors{

    private static array $interceptors = [];

    public function getInterceptors():array{
        return self::$interceptors;
    }

    public static function add(string $pattern,Interceptor $interceptor){
        self::$interceptors[$pattern] = $interceptor;
    }
}